<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- 引入样式 -->
    <!-- <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css"> -->
    <!-- 引入组件库 -->
    <!-- <script src="https://unpkg.com/element-ui/lib/index.js"></script> -->
    <link rel="stylesheet" href="../element-ui/index.css">
    <script src="../js/vue.js"></script>
    <script src="../element-ui/index.js"></script>
    <style>
        *{padding: 0;margin: 0;}
        html,
        body,
        #app {
            width: 100%;
            height: 100%;
        }
        .container{
            height: 100%;
        }
        .el-header, .el-footer {
    background-color: #B3C0D1;
    color: #333;
    text-align: center;
    line-height: 60px;
  }
  
  .el-aside {
    background-color: #D3DCE6;
    color: #333;
    text-align: center;
    line-height: 200px;
  }
  
  .el-main {
    background-color: #E9EEF3;
    color: #333;
    text-align: center;
    line-height: 160px;
  }
  
  body > .el-container {
    margin-bottom: 40px;
  }
  
  .el-container:nth-child(5) .el-aside,
  .el-container:nth-child(6) .el-aside {
    line-height: 260px;
  }
  
  .el-container:nth-child(7) .el-aside {
    line-height: 320px;
  }
    </style>
</head>

<body>
    <div id="app">
        <el-container class="container">
            <!-- <el-header>header</el-header>
            <el-main>main</el-main> -->

            <el-header>header</el-header>
            <el-container>
                <el-aside>aside</el-aside>
                <el-main>main</el-main>
            </el-container>

            <!-- <el-header>header</el-header>
            <el-main>main</el-main>
            <el-footer>footer</el-footer> -->

            <!-- <el-header>header</el-header>
            <el-container>
                <el-aside>aside</el-aside>
                <el-main>main</el-main>
                <el-aside>aside</el-aside>
            </el-container>
            <el-footer>footer</el-footer> -->
        </el-container>

    </div>
</body>
<script>

    /* 
    
        Container 布局容器
        用于布局的容器组件，方便快速搭建页面的基本结构：

        <el-container>：外层容器。当子元素中包含 <el-header> 或 <el-footer> 时，全部子元素会垂直上下排列，否则会水平左右排列。

        <el-header>：顶栏容器。

        <el-aside>：侧边栏容器。

        <el-main>：主要区域容器。

        <el-footer>：底栏容器。
    
    */
    var app = new Vue({
        el: "#app",
        data: {
            isDisabled: true,
        }
    })



</script>

</html>